/*CodeBuilder v1.0.4 by 2022/2/27 0:10:32 */
using System;
using ASmile.ORM.Entitys;

namespace ASmile.DBModel
{
	public partial class VLog_App : EntityBase
	{
		private System.Int32 _Id;
		/// <summary>
		/// Id
		/// </summary>
		[Entity(CNId, 0, true, IsPrimaryKey = true, IsIdentity = true)]
		public System.Int32 Id
		{
			get { return _Id; }
			set
			{
				if (!OnPropertyChanged(CNId, _Id, value)) return;
				_Id = value;
				SetFieldChanged(CNId) ;
			}
		}

		private System.DateTime _LogTime;
		/// <summary>
		/// LogTime
		/// </summary>
		[Entity(CNLogTime, 1, true)]
		public System.DateTime LogTime
		{
			get { return _LogTime; }
			set
			{
				if (!OnPropertyChanged(CNLogTime, _LogTime, value)) return;
				_LogTime = value;
				SetFieldChanged(CNLogTime) ;
			}
		}

		private System.String _Thread;
		/// <summary>
		/// Thread
		/// </summary>
		[Entity(CNThread, 2)]
		public System.String Thread
		{
			get { return _Thread; }
			set
			{
				if (!OnPropertyChanged(CNThread, _Thread, value)) return;
				_Thread = value;
				SetFieldChanged(CNThread) ;
			}
		}

		private System.String _LogLevel;
		/// <summary>
		/// LogLevel
		/// </summary>
		[Entity(CNLogLevel, 3)]
		public System.String LogLevel
		{
			get { return _LogLevel; }
			set
			{
				if (!OnPropertyChanged(CNLogLevel, _LogLevel, value)) return;
				_LogLevel = value;
				SetFieldChanged(CNLogLevel) ;
			}
		}

		private System.String _Logger;
		/// <summary>
		/// Logger
		/// </summary>
		[Entity(CNLogger, 4)]
		public System.String Logger
		{
			get { return _Logger; }
			set
			{
				if (!OnPropertyChanged(CNLogger, _Logger, value)) return;
				_Logger = value;
				SetFieldChanged(CNLogger) ;
			}
		}

		private System.String _Message;
		/// <summary>
		/// Message
		/// </summary>
		[Entity(CNMessage, 5)]
		public System.String Message
		{
			get { return _Message; }
			set
			{
				if (!OnPropertyChanged(CNMessage, _Message, value)) return;
				_Message = value;
				SetFieldChanged(CNMessage) ;
			}
		}

		#region 字段名的定义
		public const string CNId = "Id";
		public const string CNLogTime = "LogTime";
		public const string CNThread = "Thread";
		public const string CNLogLevel = "LogLevel";
		public const string CNLogger = "Logger";
		public const string CNMessage = "Message";
		#endregion

	}
}
